import request from '@/utils/request'

// 根据connectKey 和设备编号订阅
export function subscribeByEquipmentNumber(query) {
  return request({
    url: 'subscribe/subscribeByEquipmentNumber',
    method: 'get',
    params: query
  })
}
// 根据connectKey 和设备编号取消订阅
export function closeSubscribeByEquipmentNumber(query) {
  return request({
    url: 'subscribe/closeSubscribeByEquipmentNumber',
    method: 'get',
    params: query
  })
}
